package com.yugao.fintech.antelope.pay.common.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yugao.fintech.antelope.pay.model.entity.MchApp;
import com.yugao.fintech.antelope.pay.model.rqrs.MchAppQL;
import com.yugao.fintech.antelope.pay.model.rqrs.MchAppSaveRQ;
import com.yugao.fintech.antelope.pay.model.rqrs.MchAppUpdateRQ;

import java.util.List;

/**
 * 商户应用表 服务实现类
 *

 */
public interface MchAppService extends IService<MchApp> {
    void deleteByAppId(String appId);

    IPage<MchApp> pageMchApp(MchAppQL query);

    MchApp getMchAppById(String appId);

    MchApp getByMch(String mchNo, String appId);

    void saveMchApp(MchAppSaveRQ req);

    void updateMchApp(MchAppUpdateRQ req);

    List<MchApp> listAllMchApp();
}
